Invoke the correct xmlstarlet executable on Debian systems.
authorRob Browning <rlb@defaultvalue.org>
Tue, 5 Apr 2011 03:46:30 +0000 (22:46 -0500)
committerRob Browning <rlb@defaultvalue.org>
Sat, 8 Sep 2012 22:21:39 +0000 (17:21 -0500)
Emacs now invokes the correct xmlstarlet executable on Debian systems.

Emacs invokes xmlstarlet rather than xml, which is the correct
executable name on Debian systems.

Provided-by: Jussi Judin <jjudin+debian@iki.fi>
Date: Sat, 20 Oct 2007 14:42:02 UTC
Added-by: Rob Browning <rlb@defaultvalue.org>
Status: Debian specific
Bug: 447378

lisp/progmodes/flymake.el

index 07393c6954d70869ac6e89f67929f257b2519720..e249e3babc74e4462d99d8a6d28264983e883fba 100644 (file)
@@ -1774,7 +1774,7 @@ Use CREATE-TEMP-F for creating temp copy."
 
 ;;;; xml-specific init-cleanup routines
 (defun flymake-xml-init ()
-  (list "xml" (list "val" (flymake-init-create-temp-buffer-copy 'flymake-create-temp-inplace))))
+  (list "xmlstarlet" (list "val" (flymake-init-create-temp-buffer-copy 'flymake-create-temp-inplace))))
 
 (provide 'flymake)